<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Eth_cts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-eth_cts" data-rule="required" class="form-control" name="row[eth_cts]" type="number" value="{$row.eth_cts}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Btc_cts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-btc_cts" data-rule="required" class="form-control" name="row[btc_cts]" type="number" value="{$row.btc_cts}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cam_cts')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cam_cts" data-rule="required" class="form-control" name="row[cam_cts]" type="number" value="{$row.cam_cts}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Eth_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-eth_address" data-rule="required" class="form-control" name="row[eth_address]" type="text" value="{$row.eth_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Btc_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-btc_address" data-rule="required" class="form-control" name="row[btc_address]" type="text" value="{$row.btc_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cam_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cam_address" data-rule="required" class="form-control" name="row[cam_address]" type="text" value="{$row.cam_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Eth_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-eth_num" data-rule="required" class="form-control" step="0.0001" name="row[eth_num]" type="number" value="{$row.eth_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Btc_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-btc_num" data-rule="required" class="form-control" step="0.0001" name="row[btc_num]" type="number" value="{$row.btc_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cam_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cam_num" data-rule="required" class="form-control" step="0.0001" name="row[cam_num]" type="number" value="{$row.cam_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Percentage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-percentage" data-rule="required" class="form-control" name="row[percentage]" type="number" value="{$row.percentage}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Token_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-token_amount" data-rule="required" class="form-control" name="row[token_amount]" type="text" value="{$row.token_amount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Activity_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="activityStatusList" item="vo"}
            <label for="row[activity_status]-{$key}"><input id="row[activity_status]-{$key}" name="row[activity_status]" type="radio" value="{$key}" {in name="key" value="$row.activity_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{$row.starttime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
